package com.hegongda.okcmall.product.fegin;

import com.hegongda.common.to.es.SkuEsModel;
import com.hegongda.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author liueidong
 * @create 2021-02-23 22:27
 */
@FeignClient("okcmall-search")
public interface SearchService {

    @PostMapping("/search/save/product")
     R up(@RequestBody List<SkuEsModel> skuEsModels);
}
